package gui;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class IndexFrame {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					IndexFrame window = new IndexFrame();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public IndexFrame() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 827, 500);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBounds(10, 11, 791, 440);
		frame.getContentPane().add(panel);
		panel.setLayout(null);
		
		JLabel lblGucMicroprocessor = new JLabel("GUC Microprocessor");
		lblGucMicroprocessor.setFont(new Font("OCR A Extended", Font.BOLD | Font.ITALIC, 20));
		lblGucMicroprocessor.setBounds(73, 34, 265, 62);
		panel.add(lblGucMicroprocessor);
		
		JButton btnStartSimulation = new JButton("Standard Simulation");
		btnStartSimulation.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent arg0) {
				
			}
		});
		btnStartSimulation.setBounds(287, 159, 212, 23);
		panel.add(btnStartSimulation);
		
		JButton btnNewButton = new JButton("Educational Simulation");
		btnNewButton.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnNewButton.setBounds(287, 210, 212, 23);
		panel.add(btnNewButton);
		
		JButton prog1 = new JButton("Program 1");
		prog1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		prog1.setBounds(350, 255, 89, 23);
		panel.add(prog1);
		
		JButton prog2 = new JButton("Program 2");
		prog2.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		prog2.setBounds(350, 306, 89, 23);
		panel.add(prog2);
		
		JButton btnProgram = new JButton("Program 3");
		btnProgram.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnProgram.setBounds(350, 352, 89, 23);
		panel.add(btnProgram);
	}
}
